/**
 * 自定义页面样式
 **/

@import "var.less";
@import "./mixins/clearfix.less";

.tree{
  .data-content {
    margin-top: 15px;position: relative;
    .clearfix();
  }

  .ivu-card-head {
    padding: 10px 15px;
    p{
      display: block;
    }
  }

  .tree-box{
    float: left;width: 25%;margin-right: 16px;position: absolute;top: 0;bottom: 0;
    .ivu-card{
      height: 100%;
    }
    .ivu-card-body {
      min-height: calc(~"100% - 41px");
    }
    .ivu-card-body {
      .ivu-tree{
        ul {
          font-size: @font-size-base;
          li {
            margin:5px 0;
          }
        }
        .tree-icon {
          display: inline-block;margin-right: 5px;font-size: 16px;line-height: 1.3125;
        }
        .ivu-btn-group {
          display: none;vertical-align: top;margin-left: 10px;
        }
        .ivu-btn-group-small .ivu-btn{
          height: 21px;line-height: 16px;
        }
        .ivu-tree-title.ivu-tree-title-selected+.ivu-btn-group{
          display: inline-block;
        }
      }
    }
  }

  .org-box{
    float: right;width: calc(~"75% - 16px");position: relative;
    .ivu-card-body {
      min-height: calc(~"100vh - 41px - 45px - 32px - 50px");//防止浏览器过大
    }
  }
}
